home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
Tools
/
freeWAIS-sf-1.1
/
Imakefile
< prev
next >
Wrap
Makefile
|
1995-01-09
|
17KB
|
486 lines
############################ -*- Mode: Makefile -*- ###########################
## Imakefile --
## ITIID : $ITI$ $Header $__Header$
## Author : Ulrich Pfeifer
## Created On : Tue Mar 8 14:40:27 1994
## Last Modified By: Ulrich Pfeifer
## Last Modified On: Tue Jan 10 18:14:40 1995
## Update Count : 138
## Status : Unknown, Use with caution!
###############################################################################
#include "Install.tmpl"
SHELL = /bin/sh
#ifdef SYSVREGEXP
REGEXPDIR = regexp
#endif
#ifdef ISO
CTYPEDIR = ctype
#endif
#ifdef LOCAL_SEARCH
TESTDIR = FIELD-EXAMPLE
#endif
#ifdef HAVE_ATHENA
XDIR = x
#endif
#define CTYPE
SUBDIRS = $(CTYPEDIR) $(REGEXPDIR) \
lib ir ui bin doc $(XDIR) $(TESTDIR)
TOP = .
#define IHaveSubdirs
#define PassCDebugFlags CC=$(CC) STD_DEFINES="$(STD_DEFINES)" \
CDEBUGFLAGS="$(CDEBUGFLAGS)" BINDIR="$(BINDIR)" \
MANDIR="$(MANDIR)" INSTALLROOT=$(INSTALLROOT) \
LISPDIR="$(LISPDIR)" XAPPLOADDIR="$(XAPPLOADDIR)"
SRCS = config.c
#ifdef BSDI
BSDIDIRS = bsdi \
bsdi/lex \
bsdi/lib \
BSDIFILES = bsdi/Makefile.ir \
bsdi/Makefile.lib \
bsdi/Makefile.ui \
bsdi/README \
bsdi/ir.patch \
bsdi/lex/Makefile \
bsdi/lex/header.c \
bsdi/lex/ldefs.c \
bsdi/lex/lmain.c \
bsdi/lex/ncform \
bsdi/lex/nrform \
bsdi/lex/once.c \
bsdi/lex/parser.y \
bsdi/lex/sub1.c \
bsdi/lex/sub2.c \
bsdi/lex/y.tab.c \
bsdi/lib.patch \
bsdi/lib/alphasort.c \
bsdi/lib/ftwtest.c \
bsdi/lib/scandir.c \
bsdi/lib/scantest.c \
bsdi/regexp.h
#endif /* BSDI */
RELEASE = FREE_WAIS_SF_VERSION
DISTNAME = _DISTNAME_
DISTDIRS = $(BSDIDIRS) \
bin \
doc \
doc/CNIDR \
doc/original-TM-wais \
doc/original-TM-wais/manl \
doc/SF \
ir \
lib \
ui \
x \
FIELD-EXAMPLE \
regexp \
ctype
DISTFILES = $(BSDIFILES) \
COPYRIGHT \
ChangeLog \
DOCUMENTS \
Defaults.tmpl \
Defaults.tmpl.in \
Defaults.tmpl.top \
FIELD-EXAMPLE/BOOLEAN.should \
FIELD-EXAMPLE/COMPLEX.should \
FIELD-EXAMPLE/FIELD.should \
FIELD-EXAMPLE/GERMAN.should \
FIELD-EXAMPLE/Imakefile \
FIELD-EXAMPLE/LIT/**/ERAL.should \
FIELD-EXAMPLE/Makefile.in \
FIELD-EXAMPLE/NUMERIC.should \
FIELD-EXAMPLE/PARTIAL.should \
FIELD-EXAMPLE/PLAIN.should \
FIELD-EXAMPLE/TEST \
FIELD-EXAMPLE/TEST.german \
FIELD-EXAMPLE/test.fde \
FIELD-EXAMPLE/test.fmt \
FIELD-EXAMPLE/testg.fmt \
FIELD-EXAMPLE/ChangeLog \
Imakefile \
Install.tmpl \
Install.tmpl.in \
Makefile.in \
Makefile.original \
README \
TODO \
acconfig.h \
bin/Imakefile \
bin/Makefile.original \
bin/README \
bin/check-sources.script \
bin/getaddrs.script \
bin/index.mail.script \
bin/server_stats.script \
bin/start.myserver.script \
bin/stats.awk \
bin/swais.sh.script \
bin/test.waisindex \
bin/wais-gif-display.script \
bin/wais-html-display.script \
bin/wais-jfif-display.script \
bin/wais-jpeg-display.script \
bin/wais-pict-display.script \
bin/wais-ppm-display.script \
bin/wais-tiff-display.script \
bin/waisretrieve.script \
bin/waissearch-modem \
bin/ws.script \
config.c \
configure \
configure.in \
ctype/Imakefile \
ctype/Makefile.in \
ctype/ctest.c \
ctype/ctype.h \
ctype/ctype.tmpl \
ctype/mkctype.c \
ctype/ChangeLog \
doc/CNIDR/FAQ.txt \
doc/CNIDR/INSTALLATION \
doc/CNIDR/NEXT-RELEASE \
doc/CNIDR/README \
doc/CNIDR/RELEASE-NOTES \
doc/Imakefile \
doc/SF/freeWAIS-sf.dvi \
doc/SF/freeWAIS-sf.ps \
doc/SF/freeWAIS-sf.tex \
doc/SF/html.sty \
doc/original-TM-wais/FAQ.txt \
doc/original-TM-wais/Imakefile \
doc/original-TM-wais/Makefile \
doc/original-TM-wais/README \
doc/original-TM-wais/bibliography.txt \
doc/original-TM-wais/cm-servers.ps \
doc/original-TM-wais/doc-ids.txt \
doc/original-TM-wais/helpful-scripts.txt \
doc/original-TM-wais/manl/Imakefile \
doc/original-TM-wais/manl/Makefile \
doc/original-TM-wais/manl/waisindex.man \
doc/original-TM-wais/manl/waisq.man \
doc/original-TM-wais/manl/waissearch.man \
doc/original-TM-wais/manl/waisserver.man \
doc/original-TM-wais/manl/xwais.man \
doc/original-TM-wais/manl/xwaisq.man \
doc/original-TM-wais/overview.txt \
doc/original-TM-wais/protspec.txt \
doc/original-TM-wais/question.txt \
doc/original-TM-wais/source.txt \
doc/original-TM-wais/wais-concepts.txt \
doc/original-TM-wais/wais-corp.txt \
doc/original-TM-wais/wais.el.txt \
doc/original-TM-wais/waisindex.txt \
doc/original-TM-wais/waisprot.txt \
doc/original-TM-wais/waisq.txt \
doc/original-TM-wais/waissearch.hlp \
doc/original-TM-wais/waissearch.txt \
doc/original-TM-wais/waisserver.txt \
doc/original-TM-wais/waistation_users_guide.txt \
doc/original-TM-wais/xwais.txt \
doc/original-TM-wais/xwaisq.txt \
doc/original-TM-wais/z3950-spec.txt \
install.sh \
ir/ChangeLog \
ir/DESIGN \
ir/Imakefile \
ir/Makefile.in \
ir/Makefile.original \
ir/README \
ir/README_FIELDS \
ir/analyse_str.h \
ir/boolean_op.c \
ir/boolean_op.h \
ir/byte_order.h \
ir/cdialect.h \
ir/cutil.c \
ir/cutil.h \
ir/docid.c \
ir/docid.h \
ir/field_index.c \
ir/field_index.h \
ir/field_l.c \
ir/field_l.l \
ir/field_search.c \
ir/field_search.h \
ir/field_token.h \
ir/field_y.c \
ir/field_y.h \
ir/field_y.y \
ir/futil.c \
ir/futil.h \
ir/hash.c \
ir/hash.h \
ir/ir.c \
ir/ir.h \
ir/ircfiles.c \
ir/ircfiles.h \
ir/irdirent.h \
ir/irext.h \
ir/irfileio.c \
ir/irfileio.h \
ir/irfiles.c \
ir/irfiles.h \
ir/irhash.c \
ir/irhash.h \
ir/irinv.c \
ir/irinv.h \
ir/irkeywords.c \
ir/irretrvl.c \
ir/irretrvl.h \
ir/irsearch.c \
ir/irsearch.h \
ir/irsparse.c \
ir/irsparse.h \
ir/irtfiles.c \
ir/irtfiles.h \
ir/irverify.c \
ir/irverify.h \
ir/list.c \
ir/list.h \
ir/lock.c \
ir/lock.h \
ir/panic.c \
ir/panic.h \
ir/prototypes.h \
ir/query_l.c \
ir/query_l.l \
ir/query_token.h \
ir/query_y.c \
ir/query_y.y \
ir/sersrch.c \
ir/server-single.c \
ir/server.h \
ir/sighash.c \
ir/sighash.h \
ir/sigindex.h \
ir/sigsrch.c \
ir/sigsrch.h \
ir/sockets.c \
ir/sockets.h \
ir/soundex.c \
ir/soundex.h \
ir/stem.h \
ir/stemmer.c \
ir/stemmer.h \
ir/stoplist.c \
ir/stoplist.h \
ir/synonym.c \
ir/synonym.h \
ir/syslog.c \
ir/syslog.h \
ir/transprt.c \
ir/transprt.h \
ir/trie.c \
ir/trie.h \
ir/udping.c \
ir/ui-local.c \
ir/ui.c \
ir/ui.h \
ir/ustubs.c \
ir/ustubs.h \
ir/version.h \
ir/waisindex.c \
ir/waisserver.c \
ir/weight.c \
ir/weight.h \
ir/wmessage.c \
ir/wmessage.h \
ir/wprot.c \
ir/wprot.h \
ir/wutil.c \
ir/wutil.h \
ir/zprot.c \
ir/zprot.h \
ir/ztype1.c \
ir/ztype1.h \
ir/zutil.c \
ir/zutil.h \
iubio-wais.news \
iubio-wais.readme \
lib/Imakefile \
lib/Makefile.in \
lib/Makefile.original \
lib/README \
lib/alloca.c \
lib/alphasort.c \
lib/freedir.c \
lib/ftw.c \
lib/ftw.man \
lib/ftwtest.c \
lib/pdftw.h \
lib/scandir.c \
lib/scandir.man \
lib/scantest.c \
lib/stringtoany.c \
lib/trunc.c \
mkinstalldirs \
regexp/ANNOUNCE \
regexp/Imakefile \
regexp/Makefile.in \
regexp/Makefile.orig \
regexp/README \
regexp/cdefs.h \
regexp/regerror.c \
regexp/regexp.c \
regexp/regexp.h \
regexp/regexp.man \
regexp/regmagic.h \
regexp/regsub.c \
regexp/tests \
regexp/timer.c \
regexp/try.c \
sound.readme \
ui/Imakefile \
ui/Makefile.in \
ui/Makefile.original \
ui/README \
ui/Retrieval.h \
ui/dirname \
ui/document.c \
ui/document.h \
ui/globals.h \
ui/lisp-ui.c \
ui/list.h \
ui/lucid.lisp \
ui/messages.h \
ui/question.c \
ui/question.h \
ui/source.c \
ui/source.h \
ui/status.h \
ui/swais.c \
ui/uri-lucid.lisp \
ui/util.c \
ui/util.h \
ui/wais-ui.c \
ui/wais-ui.h \
ui/wais.el.raw \
ui/wais.h \
ui/waisq.c \
ui/waissearch.c \
ui/ChangeLog \
x/ChangeLog \
x/Imakefile \
x/Makefile.in \
x/My-Makefile \
x/MyList.c \
x/MyList.h \
x/MyListP.h \
x/README \
x/Retrieval.h \
x/Viewport.c \
x/Xwais.old \
x/Xwais.raw \
x/XwaisHELP \
x/XwaisqHELP \
x/cat.h \
x/catalog.c \
x/cr \
x/cursor.h \
x/dirname \
x/display.c \
x/display.h \
x/filereq.c \
x/filereq.h \
x/list.h \
x/makex.sh \
x/myAsciiSink.c \
x/myAsciiSink.h \
x/myAsciiSinkP.h \
x/myAsciiSrc.c \
x/myAsciiSrc.h \
x/myAsciiSrcP.h \
x/qcommands.c \
x/qcommands.h \
x/qdisplay.c \
x/qdisplay.h \
x/scommands.c \
x/scommands.h \
x/scrolllist.h \
x/tcommands.c \
x/tcommands.h \
x/text.c \
x/text.h \
x/util.c \
x/util.h \
x/xquestion.h \
x/xstuff.h \
x/xwais.bit \
x/xwais.c \
x/xwais.h \
x/xwaisq.bit \
x/xwaisq.c \
x/xwaist.bit
all:: config.status config.h
includes:: config.h
config.h: config
./config >config.h
NormalProgramTarget(config,config.o,,,)
clean::
$(RM) config config.o
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
InstallSubdirs($(SUBDIRS))
config.status: configure
./configure
touch config.status
touch Install.tmpl Defaults.tmpl
Install.tmpl Defaults.tmpl: config.status Install.tmpl.in Defaults.tmpl.in
./config.status
touch Install.tmpl Defaults.tmpl
/*
configure: configure.in
autoconf
Defaults.tmpl.in: acconfig.h configure.in
autoheader
*/
veryclean:: clean
$(RM) config.status # Install.tmpl Defaults.tmpl
$(RM) doc/SF/freeWAIS-sf.dvi doc/SF/freeWAIS-sf.ps
NamedTargetSubdirs(veryclean,$(SUBDIRS),verb,PassCDebugFlags,veryclean)
DependTarget()
NamedMakeSubdirs(install.lib,lib ir)
dist: $(DISTDIRS) $(DISTFILES)
@rev=$(RELEASE) ; \
echo "Creating $(DISTNAME)-$$rev" ; \
mkdir $(DISTNAME)-$$rev ; \
for dir in $(DISTDIRS) ; do \
mkdir $(DISTNAME)-$$rev/$$dir ; \
done ; \
for file in $(DISTFILES) ; do \
ln $$file `echo $(DISTNAME)-$$rev/$$file \
| sed -e 's:/[^/]*$$::'` ; \
done ; \
for file in $(DISTFILES) ; do \
test -r $(DISTNAME)-$$rev/$$file \
|| cp -p $$file `echo $(DISTNAME)-$$rev/$$file \
| sed -e 's:/[^/]*$$::'` ; \
done ; \
echo "tarring to $(DISTNAME)-$$rev.tgz" ; \
/usr/local/unsupported/bin/gtar -c -z -f $(DISTNAME)-$$rev.tgz $(DISTNAME)-$$rev ; \
rm -rf $(DISTNAME)-$$rev
TAGS: $(DISTFILES)
etags $(DISTFILES)